package com.cml.common.dto.message;

import com.cml.common.constant.MessageType;
import com.cml.common.dto.entity.Message;

/**
 * 姓名：陈茂林
 * 时间：2023/10/23 14:07
 * 描述：
 */
public class FetchAllServerListReponse extends Message {
    private  String allServerList;


    public String getAllServerList() {
        return allServerList;
    }

    public void setAllServerList(String allServerList) {
        this.allServerList = allServerList;
    }


    public Integer doGetMessageLength() {
        return 4+this.allServerList.length();
    }

    public Integer doGetMessageType() {
        return MessageType.CLIENT_RESPONSE_ALL_SERVER_LIST_MESSAGE;
    }
}
